package com.zijing2333.servicerunner;

import com.zijing2333.servicerunner.TaskInfo;
import com.zijing2333.servicerunner.JSStatus;
import com.zijing2333.servicerunner.JSStatuses;

interface IServiceRunner{
    boolean deployTask(int operationType, String taskId, String url, boolean isFrontendRequired);
    String getCurrentExecutionState(String serviceId);
    void restoreServiceDataState(String serviceId, String data);
    Map<String, JSStatus> getServiceStatuses();
    void stopJSExecution(String serviceId);
    void deleteReplicaCode(String serviceId);
}
